{extend name="public:layout" /}
{block name="title"}批量调价{/block}
{block name="head"}{/block}
{block name="body"}
<div class="wrapper wrapper-content">
    <div class="ibox">
        <div class="ibox-title">
            <ol class="breadcrumb">
                <li><i class="fa fa-hand-o-right"></i> 批量调价</li>
            </ol>
        </div>
        <div class="ibox-content">
            <form method="post" class="form-horizontal" id="form">
                <div class="form-group">
                    <label class="col-sm-2 control-label Validform_label">商品类目</label>
                    <div class="col-sm-4">
                        <select class="form-control" multiple name="site_cids[]" style="height:260px;">
                            {volist name="siteGroup" id="vo"}
                            <option value="{$vo.cid}">{$vo._name}</option>
                            {/volist}
                        </select>
                        <p class="help-block">按CTRL多选</p>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label Validform_label">市场价</label>
                    <div class="col-sm-10">
                        <div class="pull-left">
                        <label class="radio-inline i-checks">
                            <input type="radio" name="market_change" value="up" checked /> 上浮
                        </label>
                        <label class="radio-inline i-checks">
                            <input type="radio" name="market_change" value="down" /> 下调
                        </label>
                        </div>
                        <div class="pull-left">
                            <input type="text" class="form-control" style="width:80px;" name="market_value" value="0" />
                        </div>
                        <div class="pull-left">
                            <select class="form-control" name="market_type">
                                <option value="100">百分比</option>
                                <option value="1">数值</option>
                            </select>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 control-label Validform_label">销售价</label>
                    <div class="col-sm-10">
                        <div class="pull-left">
                            <label class="radio-inline i-checks">
                                <input type="radio" name="goods_change" value="up" checked /> 上浮
                            </label>
                            <label class="radio-inline i-checks">
                                <input type="radio" name="goods_change" value="down" /> 下调
                            </label>
                        </div>
                        <div class="pull-left">
                            <input type="text" class="form-control" style="width:80px;" name="goods_value" value="0" />
                        </div>
                        <div class="pull-left">
                            <select class="form-control" name="goods_type">
                                <option value="100">百分比</option>
                                <option value="1">数值</option>
                            </select>
                        </div>
                        <div class="clearfix"></div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-10 col-sm-offset-2">
                        <button class="btn btn-primary" type="button" id="btnSub">保存内容</button>
                        <a href="{:url('index')}" class="btn btn-white">取消</a>
                        <span id="validError"></span>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
{/block}
{block name="script"}
<script type="text/javascript">
    $(function () {
        iCheck();
        ajaxSubForm('#btnSub');
    })
</script>
{/block}